package com.example.forum.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author why
 * @since 2020-04-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dbo.T_BLOCKAREA")
public class TBlockarea implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private String id;

    @TableField("ISDELETED")
    private Boolean isdeleted;

    @TableField(value = "CREATIONTIME", fill = FieldFill.INSERT)
    private Date creationtime;

    @TableField("LASTMODIFICATIONTIME")
    private Date lastmodificationtime;

    @TableField("DELETIONTIME")
    private Date deletiontime;

    @TableField("CREATORUSERID")
    private String creatoruserid;

    @TableField("CREATORNAME")
    private String creatorname;

    @TableField("UPDATEUSERID")
    private String updateuserid;

    @TableField("DELETERUSERID")
    private String deleteruserid;

    @TableField("REMARK")
    private String remark;

    @TableField("BLOCKID")
    private String blockid;

    @TableField("TYPE")
    private Integer type;

    @TableField("AREAID")
    private String areaid;

    //板块区域ID
    @TableField(exist = false)
    private String blockAreaId;


}
